package webdemo.controller.blog;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class Blog {
	@RequestMapping("/blog.do")
	public ModelAndView blog(Model model){
		return new ModelAndView("blog/blog");
	}
	
	@RequestMapping("/blog-single.do")
	public ModelAndView blogSingle(Model model){
		return new ModelAndView("blog/blog-single");
	}
}
